correctness of an algorithm

visit shbcf.ru